Skip to content

chore: clean up repository root - #128

Merged
carluri merged 1 commit into
mainfrom
chore/clean-repo-root
Nov 14, 2026
Merged

carluri merged 1 commit into
mainfrom
chore/clean-repo-root

Conversation

@carluri

@carluri carluri commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

Removes files from the repository root that should not be version controlled.

.vscode/ — untracked

.vscode is already listed in .gitignore (line 133), but gitignore has no effect on files that are already tracked, which is why it survived. git rm -r --cached fixes that.

It also held personal settings rather than shared ones — settings.json pointed at ./.venv/Scripts/python.exe, a Windows path that is wrong for macOS and Linux contributors. The directory stays on disk for whoever has it; it is just no longer shared.

MANIFEST.in — removed

Dead twice over:

  1. It is a setuptools file, and this project builds with hatchling (build-backend = "hatchling.build"), which ignores MANIFEST.in completely.
  2. All four patterns reference directories that no longer exist — pytheranostics/kernels/ and pytheranostics/isotope_data/. Zero tracked files match.

It also contained include pytheranostics/kernels/*.dcm, which directly contradicts the no-medical-image policy added in #126.

Package data is already handled by [tool.hatch.build] include = ["pytheranostics/data/**/*"].

Verified by building before and after: wheel and sdist both build, contain 0 DICOM files, and still ship all 33 pytheranostics/data/ files.

.gitignore

Added .DS_Store and related macOS/editor cruft, which were missing — a stray .DS_Store was sitting untracked in the root.

Deliberately kept

  • workflows/ — not a stray copy of .github/workflows. Its README documents it as task-oriented notebooks for running on local data, distinct from the docs tutorials.
  • setup.cfg — holds the flake8 config, which cannot live in pyproject.toml.
  • setup_dev.py — referenced by CONTRIBUTING.md.
  • CHANGES.md — the real changelog, referenced by CONTRIBUTING.md.

Noted, not changed

docs/source/changelog.rst is an empty stub (just a title), so the published docs render a blank Changelog page while CHANGES.md holds the actual content. Worth wiring together separately.

- Stop tracking .vscode/. It was already listed in .gitignore, but
  gitignore does not apply to files that are already tracked, which is
  why it survived. settings.json also pointed at a Windows virtualenv
  path (./.venv/Scripts/python.exe) that is wrong for most contributors.
  The directory stays on disk locally; it is simply no longer shared.

- Remove MANIFEST.in. It is a setuptools file and this project builds
  with hatchling, which ignores it entirely. All four of its patterns
  referenced directories that no longer exist (pytheranostics/kernels,
  pytheranostics/isotope_data), and one of them included *.dcm, which
  contradicts the no-medical-image policy. Package data is already
  handled by [tool.hatch.build] include in pyproject.toml; building
  before and after produces identical artifacts.

- Add .DS_Store and related macOS/editor cruft to .gitignore, which was
  missing them.
@carluri
carluri merged commit b9d62c6 into main Nov 14, 2026
6 checks passed
@carluri
carluri deleted the chore/clean-repo-root branch November 14, 2026 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant